package com.sg.dto.biz.bff.req;

import com.sg.dto.biz.bff.common.BffEvaObjTargetCycleWeightDto;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @desc BffBatchSetDeptTargetTaskCycleWeightReqDto
 * @使用场景
 */
@Data
public class BffBatchSetDeptTargetTaskCycleWeightReqDto implements Serializable {

    @ApiModelProperty("被评对象目标周期权重列表")
    private List<BffEvaObjTargetCycleWeightDto> evaObjTargetCycleWeightList = new ArrayList<>();

    /**
     * 总分值
     */
    @NotNull(message = "总分值不能为空")
    @ApiModelProperty("总分值")
    private Long overallScore;

    /**
     * 被评对象内容表主键ID
     */
    @NotNull(message = "部门目标任务书ID不能为空")
    @ApiModelProperty("部门目标任务书ID")
    private String evaObjEntityId;

    /**
     * 冗余目标ID
     */
    @NotNull(message = "冗余目标ID不能为空")
    @ApiModelProperty("冗余目标ID")
    private String targetId;

    /**
     * 冗余评价模板ID
     */
    @NotNull(message = "冗余评价模板ID不能为空")
    @ApiModelProperty("冗余评价模板ID")
    private String evaluationTemplateId;

    /**
     * 批次ID
     */
    @NotNull(message = "批次ID不能为空")
    @ApiModelProperty("批次ID")
    private String batchId;


}
   